package git.soulbgm.service.impl;
import java.util.Date;

import git.soulbgm.pojo.User;
import git.soulbgm.service.TestService;
import org.springframework.stereotype.Service;

/**
 * @author 贺瑞杰
 * @version V1.0
 * @date 2019-04-02 10:46
 * @description
 */
@Service("testService")
public class TestServiceImpl implements TestService {

    @Override
    public User helloWord(String name) {
        User user = new User();
        user.setName(name);
        user.setAge(18);
        user.setBornDate(new Date());
        return user;
    }
}
